<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    String contextPath = request.getContextPath();
%>
<html>
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/themes/gray/easyuia.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/icon.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/query-form.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/jquery.loadmask.css" />
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=contextPath%>/resources/easyUI/easyui-lang-zh_CN.js"></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/jquery.loadmask.js'></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/util.js'></script>
    <script type='text/javascript' src='<%=contextPath%>/resources/js/views/depart_type.js'></script>
</head>

<body>
<div id="content" style="height: 100%">
    <div class="time">
        <form action="<%=contextPath%>/department/type/list.do" id="ff" method="post">
        <input type="hidden" name="limit" value="20">
        <input type="hidden" id="pageNum" name="pageNum" value="1">
            <ul>
                <li>
                    <label> 部门名：<input class="easyui-textbox" type="text" name="name" /></label>
                    <label><a href="#" onclick="CRUD.queryList();"class="easyui-linkbutton" iconCls="icon-search">查询</a></label>
                </li>
            </ul>
        </form>
    </div>
    <br>
    <div id="tablepanel" class="easyui-panel" style="width:'100%';height:auto;padding:10px;padding-right: 25px;" title="部门分类列表">
	<table id="tt" style="width:auto;height:auto;" rownumbers="true" ></table>
	</div>
</div>

<div id="dialogAdd">
    <form id="fmAdd" name="formHead" style="text-align:right;padding-top: 10px;height: 90%;width: 100%" method="post"
          action="<%=contextPath%>/department/type/save.do">
        <input type="hidden" name="id" id="id"/>
        <table style="text-align:left;padding-left: 80px;padding-top:20px;width: 95%" id="ruleTable">
            <tr>
                <td style="width:90px;text-align:right">分类名称:</td>
                <td colspan="6"><input class="easyui-textbox" style="margin-left:2px;width:149px;" type="text" name="name" id="name"/></td>
            </tr>
            <tr>
                <td style="width:90px;text-align:right">分类编号:</td>
                <td colspan="6"><input class="easyui-textbox" style="margin-left:2px;width:149px;" type="text" name="code" id="code"/></td>
            </tr>
        </table>
        <br></br>
        <div style = "margin-right:40%">
        <a class="easyui-linkbutton" id="a_AddOK" onclick="">确定</a>
        <a class="easyui-linkbutton" id="a_AddCancle">取消</a>
        </div>
    </form>
</div>

</body>
</html>